<div class="container contents bgw">
	<div class="col-md-12 text-center ">
		<span class="titleRed" ng-bind="shopshow.shop.name"></span>
		<span ng-bind="authed[shopshow.shop.state]" ></span>
	</div>
	<div class="col-md-12 text-center ">
		<span class="score">
			<span>
				<span  class="out">菜品</span>
				<span class="badge" ng-bind="shopshow.shop.satisfactions.1001|number:0||'0'"></span>
			</span>
			<span>
				<span  class="out">服务</span>
				<span class="badge" ng-bind="shopshow.shop.satisfactions.1002|number:0||'0'">99</span>
			</span>
			<span>
				<span  class="out">环境</span>
				<span class="badge" ng-bind="shopshow.shop.satisfactionse.1003|number:0||'0'">99</span>
			</span>
			<span>
				<span  class="out">总评</span>
				<span class="badge" ng-bind="shopshow.shop.score|number:0||'0'">99</span>
			</span>
		</span>

	</div>
	<div class="col-md-12">
		<hr></div>
	<div class="col-md-8 col-md-offset-2 shopshow">
		<div class="col-sm-6">
			<div class="col-sm-4">电话</div>
			<div class="col-sm-8" ng-bind="shopshow.shop.tel"></div>
		</div>

		<div class="col-sm-6">
			<div class="col-sm-4">菜系</div>
			<div class="col-sm-8" ng-bind="shopshow.shop.cuisineText"></div>
		</div>
		<div class="col-sm-6">
			<div class="col-sm-4">人均消费</div>
			<div class="col-sm-8" ng-bind="shopshow.shop.avgprice+'元'"></div>
		</div>
		<div class="col-sm-6">
			<div class="col-sm-4">开业时间</div>
			<div class="col-sm-8" ng-bind="shopshow.shop.openingDay|date:'yyyy-MM-dd'"></div>
		</div>
		<div class="col-sm-12">
			<div class="col-sm-2">介绍</div>
			<div class="col-sm-10" ng-bind="shopshow.shop.description||'暂未填写'"></div>
		</div>
		<div class="col-sm-12">
			<div class="col-sm-2">
				营业时间
				<br>
				<a class="btn btn-link" ng-click="goto('shop/businesstime')">修改</a>
			</div>
			<div class="col-sm-10">
				<div class="row">

					<table class="table table-bordered col-sm-12">
						<tr>
							<th class="col-sm-2" ng-repeat="types in tem.type" ng-bind="types"></th>
						</tr>
						<tr>
							<td ng-repeat="(key,businesstime) in tem.type" ng-bind="(shopshow.shop.businessTimes[key].startTime|ltdate|date:'HH:mm')+'-'+(shopshow.shop.businessTimes[key].endTime|ltdate|date:'HH:mm')" ></td>
						</tr>
					</table>
				</div>
			</div>
		</div>
		<div class="col-sm-12">
			<div class="col-sm-2">
				规模
				<br>
				<a class="btn btn-link" ng-click="goto('shop/tables')">修改</a>
			</div>
			<div class="col-sm-10">
				<div class="row">

					<table class="table table-bordered col-sm-12">
						<tr>
							<th class="col-sm-6"  >包厢</th>
							<th class="col-sm-6" >散台</th>
						</tr>
						<tr>
							<td   ng-bind="shopshow.shop.boxNum">读取中</th>
							<td ng-bind="shopshow.shop.tableNum ">读取中</th>
						</tr>
					</table>
				</div>
			</div>
		</div>
		<div class="col-sm-12">
			<div class="col-sm-2">
				收银员
				<br>
				<a class="btn btn-link" ng-click="goto('staff/')">修改</a>
			</div>
			<div class="col-sm-10">
				<div class="row">
					<table class="table table-bordered col-sm-12">
						<tr>
							<th class="col-sm-6"  >姓名</th>
							<th class="col-sm-6" >账号</th>
						</tr>
						<tr ng-repeat="stafflist in shopshow.shop.staffs">
							<td   ng-bind="stafflist.nickname">读取中</th>
							<td ng-bind="stafflist.name ">读取中</th>
						</tr>
					</table>
				</div>
			</div>
		</div>
		<div class="col-sm-12">
			<div class="col-sm-2">停车位</div>
			<div class="col-sm-10" ng-bind="shopshow.shop.parkingDescription||'暂未填写'"></div>
		</div>
		<div class="col-sm-12">
			<div class="col-sm-2">地址</div>
			<div class="col-sm-10" ng-show="shopshow.shop.address" ng-bind="shopshow.shop.areaText+shopshow.shop.address"></div>
			<div class="col-sm-10" ng-show="!shopshow.shop.address" >暂未填写</div>
		</div>
<!-- 		<div class="col-sm-12 form-group">
			<div class="col-sm-2">地图</div>
			<div class="col-sm-10" ng-show="shopshow.shop.map" >
				<img ng-src="{{shopshow.shop.map}}" style=""/>
			</div>
			<div class="col-sm-10" ng-show="!shopshow.shop.map" >暂未添加</div>
		</div> -->
		<div class="col-sm-12 form-group">
			<div class="col-sm-2">封面图片</div>
			<div class="col-sm-10">
				<div  class="piclist col-sm-4" >
					<img ng-src="{{shopshow.shop.picUrl}}"/>
				</div>
			</div>
		</div>
		<div class="col-sm-12 form-group">
			<div class="col-sm-2">门店图片</div>
			<div class="col-sm-10">
				<div class="pull-left titlePin" id="picshow">
					<table >
						<tr>
							<td ng-if="pic.url!==shopshow.shop.picUrl" ng-repeat="pic in shopshow.shop.picUrls" >
								<div  class="piclist" >
									<img ng-src="{{pic.url}}"/>
								</div>
							</td>
						</tr>
					</table>
				</div>
			</div>

		</div>
	</div>

	<div class="col-sm-3 col-sm-offset-5"  >
		<A ng-click="goto('shop/edit')" class="btn btn-default btn-block">修改</A>
	</div>
</div>
